import { useRoutes } from "react-router-dom";
import baseRouter from "./naseRouter";

function RouterView() { 
  const element=useRoutes(baseRouter)
  return(
    <>{element}</>
  )
}
export default RouterView